package com.meilai.project.controller.web.adMake.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.constant.AdMakeOutTypeEnum;
import com.meilai.project.constant.AdMakeTypeEnum;
import com.meilai.project.dto.workflow.FlowBusinessDataSuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 制作单
 * </p>
 *
 * @author 张驰
 * @since 2022-08-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bill_ad_make")
@ApiModel(value = "BillAdMake对象", description = "制作单")
public class BillAdMake extends FlowBusinessDataSuperEntity {

    public static final String DEPT_ID = "dept_id";
    public static final String CONTRACT_ID = "contract_id";
    public static final String CUSTOMER_ID = "customer_id";
    public static final String BILL_MARKET_ID = "bill_market_id";
    public static final String TYPE = "type";
    public static final String DICT_CLASS_OUT_ID = "dict_class_out_id";
    public static final String DICT_CLASS_IN_ID = "dict_class_in_id";
    public static final String MARK_FROM_BILL_AD_MAKE_ID = "mark_from_bill_ad_make_id";
    public static final String MEMO = "memo";
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "公司id，对应department表的id")
    private Long dept_id;
    @ApiModelProperty(value = "合同id，对应contract_apply表的id")
    private Long contract_id;
    @ApiModelProperty(value = "项目id，对应customer_info表的id")
    private Long customer_id;
    @ApiModelProperty(value = "市场制作单id，对应bill_market表的id")
    private Long bill_market_id;
    @ApiModelProperty(value = "类型 1外单 2内单")
    private AdMakeTypeEnum type;
    @ApiModelProperty(value = "外单分类id，1正常，2换画")
    private AdMakeOutTypeEnum dict_class_out_id;
    @ApiModelProperty(value = "内单分类id，对应dictionary表的id")
    private Long dict_class_in_id;
    @ApiModelProperty(value = "被另外的制作单标记，对应bill_ad_make的id")
    private Long mark_from_bill_ad_make_id;
    @ApiModelProperty(value = "备注")
    private String memo;
}
